package com.whalewire.domain;

import java.util.Date;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.validation.constraints.NotNull;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooEntity
public class LogEntry {
	
	@NotNull
	private Date logTime; 
	
	@Enumerated(EnumType.STRING)
	@NotNull
	private LogLevel logLevel;
	
	@NotNull
	private String logText;
	
}
